import { configurePageContextRoutes } from '@akinon/pz-theme/src/chrome/page-context'; import { ROUTES, ORDER_ROUTES, ACCOUNT_ROUTES } from '@theme/routes'; /** * The packaged page-context builders default to `/basket`; this storefront * routes it at `/baskets/basket`. Without this the published context would * carry a basket path no link block could follow. * * Imported from BOTH the server layout and the client root: the routes live in * module state, and the client bundle gets its own copy of that module. */ configurePageContextRoutes({ home: ROUTES.HOME, basket: ROUTES.BASKET, checkout: ORDER_ROUTES.CHECKOUT, account: ACCOUNT_ROUTES.ACCOUNT });